class AddDefaultTeam < ActiveRecord::Migration
  def self.up
    my_team = Team.new
    my_team.name = "My Team"
    my_team.name = "Oletus teami"
    my_team.save!
    
    employees = Employee.find(:all)
    employees.each do |employee|
      employee.team_id = my_team.id
      employee.save!
    end
  end

  def self.down
  end
end
